/*
-----------------------------------------------------------------------------
Filename:    Bullet.h
Author: Michael Sebright
-----------------------------------------------------------------------------
Defines a Bullet Object
Extends the projectile class
*/

#ifndef __Bullet_H__
#define __Bullet_H__


#include "Projectile.h" 

#define BULLET_SPEED 100 // speed of bullet projectile 
#define ACCURACY 7 // Degree of accuracy for bullet projectile

class Bullet : public Projectile {
private:
	SceneNode* trailNode; // for bullet trail
	SceneNode* lightNode;
	RibbonTrail* mTrail;  // ribbon trail
	Light* light;         // bullet lighting 
	BillboardSet* bbs;
	Billboard* mLight1BBFlare;
public:
	Bullet(SceneManager* sceneMgr);
	Bullet();
	void fire(Vector3 initialPosition, Quaternion direction);
	void update(Real deltaTime, Camera* cam);
	void setInactive();
	SceneNode* getProjectileNode();
};

#endif